<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<style type="text/css">
	#tabsp {
	 border-top: none;
	}
	
	.row>div{
		margin-bottom: 0;
	}
	
</style>
	<div class="tab-paneall">
			<div class="panel-bodyall">
			 	<div id="outerall">
				<div id="contentall">
					<ul class="ul-style" style="display:block;">			    
						<div class="tab-bg">
							<div class="tab-width">
							   <div class="row m-b-lg">
						            <div class="col-sm-12">
						                <div class="tabs-container-list">
						                    <div class="tabs-left">
						                        <ul class="nav nav-tabs">
						                            <li class="active"><a data-toggle="tab" href="#tab-8" onclick="clickLeftTab2(5);" id="left_tab_2">贷前资料</a></li>
						                            <li class=""><a data-toggle="tab" href="#tab-9" onclick="clickLeftTab3();" id="left_tab_3">贷中资料</a></li>
						                       		<li class=""><a data-toggle="tab" href="#tab-11" onclick="clickLeftTab5();" id="left_tab_5">贷后资料</a></li>
						                        </ul>
						                        <div class="tab-content">
						                            <div id="tab-8" class="tab-pane active">
														<div class="panel-body">
														 	<div id="outer">
															    <ul id="tab">
															        <li class="current" onclick="chelxx(4);" id="right_tabl_7">车辆&车贷</li>
															        <li id="zhujierenLi" onclick="showUl('zhujieren','', 5);" style="display: none;">购车人</li>
															    </ul>
															    <div id="content">
															        <ul class="ul-style" style="display:block;">
															           <%@include file="/web/system/kehubiao/chelxx.jsp"%>
															        </ul>
															        <ul id="zhujierenUl" class="ul-style" style="display: none;">
															            <%@include file="/web/system/kehubiao/gcrxx.jsp"%>
															        </ul>
															    </div>
															</div>
														</div>
						                            </div>
						                            
						                            <div id="tab-9" class="tab-pane">
														<div class="panel-body">
														 	<div id="outernine">
															    <ul id="tabnine">
															        <li class="current" onclick="cheliangxx(7);" id="right_tabl_3">车辆信息</li>
															    </ul>
															    
															    <div id="contentnine">
															        <ul class="ul-style">
																		<%@include file="/web/system/kehubiao/cheliangxx.jsp"%>
																	</ul>
															    </div> 
															</div>    
						                            	</div>
						                            </div>	
						                            
						                            <div id="tab-11" class="tab-pane">
														<div class="panel-body">
														 	<div id="outerdh">
															    <ul id="tabdh">
															        <li class="current" onclick="xianggaunbaox(15);" id="right_tabl_15">相关保险</li>
															    </ul>
															    
															    <div id="contentdh">
															        <ul class="ul-style">
															        	<%@include file="/web/system/kehubiao/xianggaunbaox.jsp"%>	
															        </ul>
															    </div> 
															</div>    
						                            	</div>
						                            </div>
						                            
						                        </div>
						                    </div>
						                </div>
						            </div>
						         </div>
						      </div>
						</div>
					</ul>
				</div>
			</div>
		</div>
	</div>			
	<!-- public quote -->
    <%@include file="/jsp/comm_js_include.jsp"%>

 	<!-- summernote -->
 	<%@include file="/js/common-dpqc/dpqc-summernote/comm_summernote_include.jsp"%>
 	<!-- 文件上传 -->
 	<%@include file="/jsp/common_fileupload_include.jsp"%>		
	<!-- jqGrid -->
    <script type="text/javascript" charset="utf-8" src="${basePath}/js/plugins/jqgriddemo/js/jquery.jqGrid.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="${basePath}/js/plugins/jqgriddemo/js/grid.locale-cn.min.js"></script>	
	
	<script type="text/javascript" src="${basePath}/js/kehubiao/customer.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/splz.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/zhxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/shouGongZhengXin.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/gcr.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/chelxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/cheliangxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/gpsxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/diyaxx.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
	<script type="text/javascript" src="${basePath}/js/kehubiao/jieKouZhengXin.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
 	<script type="text/javascript" src="${basePath}/js/kehubiao/xianggaunbaox.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
 	<!-- layerDate plugin javascript -->
    <script type="text/javascript" src="${basePath}/js/plugins/layer/laydate/laydate.js"></script>
 	<!-- 
 	    作者：程立勇
 	   描述：js脚本
 	 -->
<script type="text/javascript">

	   var busiId = "";
	   var queryCreditApplyId = "";

 	   $(document).ready(function (){
 		    $("#otherMessage").hide();
 		  	changeIdNo();
 		    busiId  = $('#busiId').val();
 		    queryCreditApplyId = $('#queryCreditApplyId').val();
		    /* 业务信息 */
		    clickLeftTab2(4);
	 	});
 	   
 	   function clickLeftTab2(currentTab){
 		 hideAllTabs();
 		 gcrxx(currentTab);
 		$('#right_tabl_7').click(); 
	   }
 	   
 	  function clickLeftTab3(){
 		$('#right_tabl_3').click(); 
	   }
 	  
 	 function clickLeftTab5(){
  		$('#right_tabl_15').click(); 
 	   }
 	 
 		/* 综合信息**业务流程信息**放贷信息*/
 	  function zhxx(currentTab){
 		  currentTabGlobal = currentTab;
 	      getZhxx('${basePath}/BaseCustomerController/zhxxDetail');
 	   }
 	 /* 征信情况 ：手工模式*/
	   function shouGongZhengXin(currentTab){
		  currentTabGlobal = currentTab;
	      getZxcx('${basePath}/BaseCustomerController/zxcxDetail');
	   }
	  /* 征信情况：接口模式 */
	  function jieKouZhengXin(currentTab){
		 currentTabGlobal = currentTab;
		 getJkZxcx('${basePath}/BaseCustomerController/zxcxDetail');
	  }
	  /* 购车人信息**共同购车人*/
	   function gcrxx(currentTab){
		  currentTabGlobal = currentTab;
	      getGcr('${basePath}/BaseCustomerController/gcrDetail');
	   }
	  
	  /* 购车人信息**共同购车人*/
	   function gcrxxOnly(){
		  hideAllTabs();
	      getGcr('${basePath}/BaseCustomerController/gcrDetail');
	   }
 	  /* 车辆&车贷 */
 	   function chelxx(currentTab){
 		  currentTabGlobal = currentTab;
	       getChlxx('${basePath}/BaseCustomerController/chlxxDetail');
 	   }
 	  /* 车辆信息 &车牌*/
 	   function cheliangxx(currentTab){
 		  currentTabGlobal = currentTab;
	       getCheliangxx('${basePath}/BaseCustomerController/cheDetail');
 	   }
 	   /* GPS*/
 	   function gpsxx(currentTab){
 		  currentTabGlobal = currentTab;
	        getGpsxx('${basePath}/BaseCustomerController/gpsDetail'); 	   
 		}
 	   /*抵押信息 */
 	   function diyaxx(currentTab){
 		  currentTabGlobal = currentTab;
	       getDiyaxx('${basePath}/BaseCustomerController/diyaDetail');  
 		}
 	   
       function resetSplz(){
    	  $('.splztab').each(function(){
	 			var id =$(this).attr('id');
	 			space(id);
	 	   });
       }
       
       function clickLeftTab9(currentTab){
   		 currentTabGlobal = currentTab;
  		 $('#right_tabl_2').click();
  	   }
       
       /*相关保险 */
 	   function xianggaunbaox(currentTab){
 		  currentTabGlobal = currentTab;
 		  getBaoXxx('${basePath}/BaseCustomerController/baoxianDetail');
 		}
</script>
</body>
</html>